Operations |
Element? | - elementFromPoint(float x, float y)
- Returns an element at specified coordinates. Eventually, this needs to be part of CSSOM View Module specification
When invoked, it must return result of running the following steps:
If context object is not a ShadowRoot instance, throw an InvalidNodeTypeError.If either argument is negative, x is greated than the viewport width excluding the size of a rendered scroll bar (if any), or if y is greated than the viewport height excluding the size of a rendered scroll bar (if any), return null.Let HIT be the element at coordinates x and y in the viewport, determined through hit testingLet TARGETS be the result of running the retargeting algorithm with HIT as its argumentLet TUPLE be the tuple in TARGETS, whose second value is context objectReturn first value of TUPLE.
|
HTMLElement | - getElementById(DOMString elementId)
- Must behave exactly like document.getElementById, except scoped to the shadow tree.
|
NodeList | - getElementsByClassName(DOMString tagName)
- Must behave exactly like document.getElementsByClassName, except scoped to the shadow tree.
|
NodeList | - getElementsByTagName(DOMString className)
- Must behave exactly like document.getElementsByTagName, except scoped to the shadow tree.
|
NodeList | - getElementsByTagNameNS(DOMString? namespace, DOMString localName)
- Must behave exactly like document.getElementsByTagNameNS, except scoped to the shadow tree.
|
Selection? | getSelection() |